/**
 * @file IrData.h
 * @author  
 * @brief 光电传感器数据类型
 * @version 1.0
 * @date 2020-07-23
 * 
 * @copyright Copyright (c) 2020
 * 
 */

#pragma once

namespace behavior_controller
{
    class IrData
    {
    public:
        IrData() {}
        IrData(bool front_ir) : front_ir_(front_ir){};
        /**
         * @brief 获取红外检测传感器遮挡状态
         * @return
         */
        const bool &front_ir() const { return front_ir_; }

    private:
        bool front_ir_;
    };
} // namespace behavior_controller